﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using com.hyrentals.webcommon.filter;
using System.Web.Script.Serialization;
using com.hyrentals.data;
using com.hyrentals.common;
using com.hyrentals.webcommon.api;

namespace com.hyrentals.webportal.Controllers
{
    [OnError(ComponentType.Home)]
    public class HomeController : BaseController
    {
        [HttpGet]
        public ActionResult Index()
        {
            RegionService.Generate();
            int[] stateIds = RegionService.State2City.Keys.ToArray();
            Array.Sort(stateIds);
            

            return View();
        }
    }

   
}